package com.app.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class WebSocketVO {
    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 直播ID
     */
    private String roomId;

    /**
     * 1主播2观众
     */
    private Integer action;


    /**
     * 心跳时间
     */
    private Timestamp heartbeatTime;

}
